<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <!--
     水平对齐:需要参照物，   a,b
     -->
    <style>
        img,span {
            vertical-align: middle;
        }
    </style>
</head>
<body>

<p>
    <img src="images/头像.jpg" >
    垂死病中惊坐起
</p>

</body>
</html>